import 'base_model.dart';

class CacheConfModel extends BaseModel {
  CacheConfModel({this.enable, this.maxAge, this.maxCount});

  bool enable;
  num maxAge;
  num maxCount;

  CacheConfModel.fromJson(Map<String, dynamic> data) : super.fromJson(data) {
    enable = data['enable'];
    maxAge = data['maxAge'];
    maxCount = data['maxCount'];
  }
  Map<String, dynamic> toJson() {
    return {'enable': enable, 'maxAge': maxAge, 'maxCount': maxCount};
  }
}
